home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / std_unix / archive / text0055.txt < prev    next >
Encoding:
Text File  |  1993-07-06  |  1.3 KB  |  28 lines

  1. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  2.  
  3. In further off-line discussion with Mike Wulkan, another bug in my
  4. abort() implementation turned up.  It is necessary to TEST whether
  5. or not SIGABRT is blocked before unblocking it, and if it had been
  6. blocked upon entry to abort() then sigfunc needs to be replaced by
  7. SIG_DFL.  (In other words, a signal handler function should NOT be
  8. invoked when SIGABRT was blocked.)  Since I don't have the POSIX.1
  9. specs at hand at the moment, I'm not providing a code patch, but
  10. from the description here you should be able to fix it yourself.
  11. Or, contact me later once I have had a chance to look up the right
  12. function calls.
  13.  
  14. Another note:  Although I'm not sure Mike is convinced yet, I
  15. maintain that raise() is specified in the C standard as acting
  16. synchronously, which pretty well moots the issue he raised.  If
  17. the POSIX requirement on its implementation as kill(getpid(),)
  18. leads to problems, then raise() needs to tap into the process
  19. signal vector and directly call the handler function, which meets
  20. the spirit of the POSIX specification and the literal reading of
  21. the C standard's specification.
  22.  
  23. Why are the POSIX people not coordinating with the C standard
  24. committee(s) when they come up with this stuff?
  25.  
  26. Volume-Number: Volume 31, Number 59
  27.  
  28.